﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ThridGroup.ERP.DTO;

namespace ThridGroup.ERP.ProductionSystem
{
    public interface ICustomerServices
    {
        Task<int> AddCustomer(CustomerDTO customer);
        Task<List<CustomerDTO>> ShowCustomer(int pageIndex=1,int pageSize=10,string? customerName="");
        Task<int> DeleteCustomer(int id);
        Task<CustomerDTO> QueryCustomer(int id);
        Task<int> UpdateCustomer(CustomerDTO customer);
        Task DelManyCustomer(List<int> ids);
    }
}
